package exp;

public class Circle {
    private double radius;
    public Circle() {

    }
    public Circle(double radius) {
        this.radius = radius;
    }
    public double getRadius() {
        return radius;
    }
    public double Area() {
        return 3.14*radius*radius;
    }

    @Override
    public String toString() {
        return "圆的半径为 "+radius+"\n"+"圆的面积为"+Area();
    }
}
